﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ourmsg.Enum;

namespace  P
{
    /// <summary>
    /// 认证协议
    /// </summary>
    public class Auth : UserInfo
    {
        /// <summary>
        /// 用户登录认证帐号(手机、邮箱、系统帐号)
        /// </summary>
        public string AuthID { get; set; } 
        /// <summary>
        /// 用户帐号
        /// </summary>
        public UInt32 UserID{ get; set; } 
        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string Email{ get; set; } 
        /// <summary>
        /// 用户手机
        /// </summary>
        public Int64 Phone{ get; set; } 
        /// <summary>
        /// 在线状态
        /// </summary>
        public ShowType ShowType{ get; set; } 
        /// <summary>
        /// 是否压缩
        /// </summary>
        public bool Compress { set; get; } 
        /// <summary>
        /// 是否加密
        /// </summary>
        public bool Encrypt { set; get; }
        /// <summary>
        /// P2P服务端口
        /// </summary>
        public int P2pPort
        { set; get; }
        /// <summary>
        /// 图片文件服务端口
        /// </summary>
        public int ImageFilePort
        { set; get; }
        /// <summary>
        /// 离线文件服务端口
        /// </summary>
        public int OfflineFilePort
        { set; get; }
    }
}
